package com.example.fengyungo_user.domain;

import androidx.annotation.NonNull;

import com.amap.api.services.core.LatLonPoint;

public class Location {
    /**
     * 地点，终点
     */
    private String endPosition;
    /**
     * 距离
     */
    private String distance;
    /**
     * 经纬度：终点
     */
    private LatLonPoint endLatLonPoint;
    /**
     * 起点经纬度
     */
    private LatLonPoint beginLatLonPoint;
    /**
     * 起点
     */
    private String beginPosition;

    public String getEndPosition() {
        return endPosition;
    }

    public void setEndPosition(String endPosition) {
        this.endPosition = endPosition;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public LatLonPoint getEndLatLonPoint() {
        return endLatLonPoint;
    }

    public void setEndLatLonPoint(LatLonPoint endLatLonPoint) {
        this.endLatLonPoint = endLatLonPoint;
    }

    public String getBeginPosition() {
        return beginPosition;
    }

    public void setBeginPosition(String beginPosition) {
        this.beginPosition = beginPosition;
    }

    public LatLonPoint getBeginLatLonPoint() {
        return beginLatLonPoint;
    }

    public void setBeginLatLonPoint(LatLonPoint beginLatLonPoint) {
        this.beginLatLonPoint = beginLatLonPoint;
    }

    @NonNull
    @Override
    public String toString() {
        return "Location{" +
                "endPosition='" + endPosition + '\'' +
                ", distance='" + distance + '\'' +
                ", endLatLonPoint=" + endLatLonPoint +
                ", beginLatLonPoint=" + beginLatLonPoint +
                ", beginPosition=" + beginPosition +
                '}';
    }
}
